<template>
  <div>
    <el-card class="recharge-container">
      <span class="cost">当前余额:{{ userInfo.coin }}</span>
      <div class="img-content">
        <span style="margin-bottom:0.5rem"
          >充值请qq联系管理员
          <i class="el-icon-bottom"></i>
        </span>
        <img style="width:300px" :src="weixinPayImg" />
      </div>
    </el-card>
  </div>
</template>

<script>
import weixinPayImg from '@/assets/img/weixinpay.jpg'
export default {
  props: {},
  components: {},
  data() {
    return {
      activeName: 'weixin',
      weixinPayImg: weixinPayImg
    }
  },
  computed: {
    userInfo() {
      return this.$store.state.user.userInfo
    }
  },
  watch: {},
  created() {},
  mounted() {},
  methods: {
    handleClick(tab, event) {
      console.log(tab, event)
    }
  }
}
</script>

<style scoped>
.cost {
  color: #44474b;
  display: inline-block;
  margin: 0.5rem 0;
  width: 100%;
  font-size: 18px;
}
.img-content {
  width: 100%;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 767px) {
  .recharge-container {
    margin: 20px 0;
  }
}
</style>
